# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-terminal
pkgver=1.0.4
pkgrel=0
pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
url="https://docs.xfce.org/apps/xfce4-terminal/start"
arch="all"
license="GPL-2.0-or-later"
depends="startup-notification hicolor-icon-theme"
makedepends="exo-dev vte3-dev libxfce4ui-dev pcre2-dev"
replaces="terminal"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-terminal/${pkgver%.*}/xfce4-terminal-$pkgver.tar.bz2"

build() {
	LIBS="-lintl" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
76ea8f296fe1c128dc70d8aabf23447300ba83405d52e844abec89049968bac51fe47fd7545a76e4a421275c6a2f230f326ed3a25083bf536f17fc3218b05fce  xfce4-terminal-1.0.4.tar.bz2
"
